{include file="public/header" /}
<link rel="stylesheet" href="/static/admin/addons/builder/css/base.css" media="all">
<style>
    .layui-form-item {
        margin-bottom: 15px !important;
        clear: both;
        *zoom: 1;
    }
</style>
<body>
<form class="layui-form" id="form" action="{:url('saveCate')}">
    <div class="layui-fluid layui-anim layui-anim-downbit">
        <div class="layui-card">
            <div class="layui-card-body" style="padding: 15px;">

                <input type="hidden" name="id" value="{$Request.param.id}">
                {include file="public/arguments" /}
                <div class="layui-form-item">
                    <label class="layui-form-label">单选个数</label>
                    <div class="layui-input-block">
                        <input type="text" name="radio_num" placeholder="请输入单选个数" lay-verify="required" 
                        lay-verType="tips"
                               lay-reqtext="请输入单选个数" value="{$info?$info.radio_num:''}" class="layui-input" onkeyup="this.value=this.value.replace(/\D/g,'')" onafterpaste="this.value=this.value.replace(/\D/g,'')"/>
                    </div>
                </div>

                <div class="layui-form-item">
                    <label class="layui-form-label">单选每题分数</label>
                    <div class="layui-input-block">
                        <input type="text" name="radio_score" placeholder="请输入单选每题分数 lay-verify="required" 
                        lay-verType="tips"
                               lay-reqtext="请输入单选每题分数" value="{$info?$info.radio_score:''}" class="layui-input" onkeyup="this.value=this.value.replace(/\D/g,'')" onafterpaste="this.value=this.value.replace(/\D/g,'')"/>
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">多选个数</label>
                    <div class="layui-input-block">
                        <input type="text" name="check_num" lay-verify="required" lay-reqtext="请输入多选个数"
                               placeholder="请输入多选个数" class="layui-input"
                               value="{$info?$info.check_num:''}" onkeyup="this.value=this.value.replace(/\D/g,'')" onafterpaste="this.value=this.value.replace(/\D/g,'')">
                    </div>
                </div>

                <div class="layui-form-item">
                    <label class="layui-form-label">多选每题分数</label>
                    <div class="layui-input-block">
                        <input type="text" name="check_score" lay-verify="required" lay-reqtext="请输入多选每题分数"
                               placeholder="请输入多选每题分数" class="layui-input"
                               value="{$info?$info.check_score:''}" onkeyup="this.value=this.value.replace(/\D/g,'')" onafterpaste="this.value=this.value.replace(/\D/g,'')">
                    </div>
                </div>

            </div>
        </div>

    </div>
    <div class="layui-footer" style="left: 0;">
        <button class="layui-btn" lay-filter="save" lay-submit formObj="#form">保存
        </button>
    </div>
</form>
</body>
{include file="public/footer" /}

</html>